package cn.code.mycloud.module.envir.controller.admin.screen;

import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class Constants {

    //    省会城市
    public static final List<Integer> capitalCityIds = Arrays.asList(
            110000, 120000, 310000, 500000, 130100, 140100, 150100,
            210100, 220100, 230100, 320100, 330100, 340100, 350100,
            360100, 370100, 410100, 420100, 430100, 440100, 450100,
            460100, 510100, 520100, 530100, 540100, 610100, 620100,
            630100, 640100, 650100, 710000, 810000, 820000
    );
    //    大城市
    public static final List<Integer> bigCityIds = Arrays.asList(
            110100, 120100, 130100, 130200, 130300, 130400, 130500, 130600, 130700, 140100, 140200, 140400, 150100, 150200, 150400, 210100, 210200, 210300, 210400, 220100, 220200, 230100, 230200, 230600, 310100, 320100, 320200, 320300, 320400, 320500, 320600, 320700, 320800, 320900, 321000, 330100, 330200, 330300, 330600, 331000, 340100, 340200, 340400, 350100, 350200, 350300, 350500, 360100, 360700, 361100, 370100, 370200, 370300, 370400, 370600, 370700, 370800, 370900, 371300, 371500, 410100, 410200, 410300, 410700, 420100, 420300, 420500, 420600, 430100, 430200, 430400, 430600, 440100, 440300, 440400, 440500, 440600, 440700, 440800, 441300, 441900, 442000, 450100, 450200, 450300, 460100, 500100, 510100, 510500, 510700, 511300, 511500, 520100, 520300, 530100, 610100, 610400, 620100, 630100, 640100, 650100, 320583, 330282, 330782, 350582
    );

    public static final Map<String, String> provinceFullNameToAbbr = new HashMap<String, String>() {{
        put("北京", "京");
        put("天津", "津");
        put("河北省", "冀");
        put("山西省", "晋");
        put("内蒙古自治区", "蒙");
        put("辽宁省", "辽");
        put("吉林省", "吉");
        put("黑龙江省", "黑");
        put("上海", "沪");
        put("江苏省", "苏");
        put("浙江省", "浙");
        put("安徽省", "皖");
        put("福建省", "闽");
        put("江西省", "赣");
        put("山东省", "鲁");
        put("河南省", "豫");
        put("湖北省", "鄂");
        put("湖南省", "湘");
        put("广东省", "粤");
        put("广西壮族自治区", "桂");
        put("海南省", "琼");
        put("重庆", "渝");
        put("四川省", "川");
        put("贵州省", "黔");
        put("云南省", "云");
        put("西藏自治区", "藏");
        put("陕西省", "陕");
        put("甘肃省", "甘");
        put("青海省", "青");
        put("宁夏回族自治区", "宁");
        put("新疆维吾尔自治区", "新");
    }};
}
